(function () {
  'use strict';

  angular
    .module('vboxApp')
    .config(routeConfig);

  /** @ngInject */
  function routeConfig($stateProvider) {
    $stateProvider
      .state('app.dashboard.summary', {
      url: '/summary',
      templateUrl: 'app/modules/dashboard/summary/index.html',
      controller: 'dashboardSummaryCtrl',
      // resolve: {
      //   loadPlugin: function ($ocLazyLoad) {
      //     return $ocLazyLoad.load([
      //       {
      //         insertBefore: '#loadBefore',
      //         files: ['app/assets/plugins/echarts/echarts.min.js']
      //       }
      //     ]);
      //   }
      // }
    });
  }
})();
